package org.kl.bpm.repository.conf;

import org.kl.bf.repository.BasicRepository;
import org.kl.bpm.entity.conf.BpmConfBase;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface BpmConfBaseDao extends BasicRepository<BpmConfBase, String>, JpaSpecificationExecutor<BpmConfBase> {
	BpmConfBase findByProcessDefinitionKeyAndProcessDefinitionVersion(String processDefinitionKey, Integer processDefinitionVersion);

	BpmConfBase findByProcessDefinitionId(String processDefinitionId);
}
